import request from '@/utils/request'

// 查询性服务列表
export function listService123(query) {
  return request({
    url: '/sex/service123/list',
    method: 'get',
    params: query
  })
}

// 查询性服务详细
export function getService123(id) {
  return request({
    url: '/sex/service123/' + id,
    method: 'get'
  })
}

// 新增性服务
export function addService123(data) {
  return request({
    url: '/sex/service123',
    method: 'post',
    data: data
  })
}

// 修改性服务
export function updateService123(data) {
  return request({
    url: '/sex/service123',
    method: 'put',
    data: data
  })
}

// 删除性服务
export function delService123(id) {
  return request({
    url: '/sex/service123/' + id,
    method: 'delete'
  })
}
